AI SDK Kotlin
Toggle table of contents
0.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
AI SDK Kotlin
AI SDK Kotlin
/
ai.torad.aisdk
/
executeTool
execute
Tool
fun
<
TInput
,
TOutput
,
TContext
>
executeTool
(
tool
:
Tool
<
TInput
,
TOutput
,
TContext
>
,
input
:
TInput
,
options
:
ToolExecutionContext
<
TContext
>
)
:
Flow
<
ExecuteToolResult
<
TOutput
>
>